﻿#pragma once
// Copyright (c) lanyeo 2020-2021
// Licenced under MIT license. See https://opensource.org/licenses/MIT for details.
// code style
// 1. use forward declaration (尽可能使用前置声明)
// 2. include file sequence [other project>c>c++>third>self project]
// 

#include <thirdparty/xml_paser.h>

struct NetworkConf;

class CNetworkConfParser : public XmlParser
{
public:
    CNetworkConfParser();
    ~CNetworkConfParser() override;

    bool Parser(XMLElement* root) override;

    const NetworkConf* cfg();
private:
    NetworkConf* m_cfg;
};
